package com.sniff.atp.modules.test.model.ops;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 操作用户信息
 * </p>
 *
 * @author macro
 * @since 2024-01-14
 */
@Getter
@Setter
@TableName("ops_customer_operate")
@ApiModel(value = "OpsCustomerOperate对象", description = "操作用户信息")
public class OpsCustomerOperate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
    @TableId(value = "ops_customer_operate_id", type = IdType.AUTO)
    private Long opsCustomerOperateId;

    @ApiModelProperty("客户id")
    private Long customerId;

    @ApiModelProperty("客户店铺id")
    private Long customerShopId;

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("登录名")
    private String loginName;

    @ApiModelProperty("统一客户全名")
    private String unificationCustomerFullName;

    @ApiModelProperty("客户超级id")
    private Long superCustomerId;

    @ApiModelProperty("客户邮箱")
    private Long customerEmail;

    @ApiModelProperty("操作类型：删除用户，标记内部用户")
    private String operateType;

    @ApiModelProperty("工单编号")
    private String workOrderId;


    @ApiModelProperty("操作人")
    private String operatePerson;

    @ApiModelProperty("操作人手机号")
    private String operateMobile;

    @ApiModelProperty("状态：已登记，已处理，处理失败")
    private String status;

    @ApiModelProperty("客户状态：1-正常；2-停用")
    private Integer customerStatus;

    @ApiModelProperty("内部用户标志：0-否；1-是")
    private Integer internalFlag;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;
}
